.home {
  padding: 24px 24px 60px;
  background: transparent;
  color: #1d2129;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Tools */
.tools .tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f3ff;
  color: #3b5bfd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.tool-title {
  font-weight: 600;
}
.tool-desc {
  font-size: 12px;
  color: #86909c;
}

/* Banner */
.banner {
  margin: 8px 0 24px;
}
.banner-inner {
  background: linear-gradient(90deg, #1c2b64 0%, #0f1b49 100%);
  color: #fff;
  border-radius: 12px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.banner-text {
  font-size: 16px;
  font-weight: 600;
}
.banner-btn {
  background: #2f54eb;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 12px;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chip {
  border: 1px solid #e5e6eb;
  background: #fff;
  color: #1d2129;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.chip.active {
  background: #f0f5ff;
  color: #2f54eb;
  border-color: #adc6ff;
}
.more {
  border: none;
  background: transparent;
  color: #4e5969;
  cursor: pointer;
}

/* Cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card-row.single {
  grid-template-columns: 1fr;
}
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.video-card.large .thumb {
  height: 180px;
}
.thumb {
  background: #e5e6eb;
  height: 120px;
  position: relative;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
}
.card-title {
  padding: 10px 12px 12px;
  font-size: 14px;
  color: #1d2129;
}

@media (max-width: 1200px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .tools .tool-list { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(2, 1fr); }
}
